package cn.xudy.async;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Created by Ulegal on 2017/8/14.
 */
@SpringBootApplication
@EnableAsync
//@EnableConfigurationProperties({TaskThreadPoolConfig.class} ) // 开启配置属性支持
public class MainApplication {

    private static final Logger log = LoggerFactory.getLogger(MainApplication.class);

    public static void main(String[] args) {
        log.info("Start AsyncApplication.. ");

        SpringApplication.run(MainApplication.class, args);
    }





}
























